package com.example.teesystem.entityDto;

import com.example.teesystem.entity.IssueFeedback;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.util.Date;

/**
 * @author pxr
 * @data 2022/3/31 20:02
 */
@Data
public class IssueFeedbackDto {
    private Integer id;

    /**
     * 题目id
     */
    private Integer issueId;

    /**
     * 题干内容
     */
    private String issueQuestion;
    /**
     * 描述信息
     */
    private String message;

    /**
     * 上传者Id
     */
    private Integer uploadUid;

    /**
     * 上传时间
     */
    private Date uploadTime;

    /**
     * 0未处理1已处理
     */
    private Integer isHandle;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 处理人id
     */
    private Integer handlerId;

    private String uploadName;

    private String handlerName;

    private String courseName;

    public IssueFeedbackDto(IssueFeedback issueFeedback){
        BeanUtils.copyProperties(issueFeedback,this);
    }

}
